package com.web.cms.ad.model;

import com.blue.core.dict.AdvType;
import com.blue.core.dict.State;
import com.blue.jdbc.annotation.Id;
import com.blue.jdbc.annotation.Table;

/**
 * 广告位置实体类
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2017年11月13日
 */
@Table(name = "ad_adv_pos")
public class AdvPos
{
	@Id
	private Integer id; // 编号
	private Integer webId; // 网站编号
	private String code; // 代码
	private String name; // 名称
	private String descp; // 描述
	private AdvType type; // 类型：1图片，2文字
	private State state; // 状态：0正常，1作废
	
	public AdvPos()
	{
	}
	
	public Integer getId()
	{
		return this.id;
	}
	
	public void setId(Integer id)
	{
		this.id = id;
	}
	
	public Integer getWebId()
	{
		return this.webId;
	}
	
	public void setWebId(Integer webId)
	{
		this.webId = webId;
	}
	
	public String getCode()
	{
		return this.code;
	}
	
	public void setCode(String code)
	{
		this.code = code;
	}
	
	public String getName()
	{
		return this.name;
	}
	
	public void setName(String name)
	{
		this.name = name;
	}
	
	public String getDescp()
	{
		return this.descp;
	}
	
	public void setDescp(String descp)
	{
		this.descp = descp;
	}

	public AdvType getType()
	{
		return type;
	}

	public void setType(AdvType type)
	{
		this.type = type;
	}

	public State getState()
	{
		return state;
	}

	public void setState(State state)
	{
		this.state = state;
	}

}
